package com.yuke.cloud.service.wmc.dao;

import com.yuke.cloud.common.core.mybatis.MyMapper;
import com.yuke.cloud.service.wmc.dto.FlowCountDto;
import com.yuke.cloud.service.wmc.dto.PaymentOrderDto;
import com.yuke.cloud.service.wmc.dto.WmsPurchaseOrderDto;
import com.yuke.cloud.service.wmc.dto.WmsStockInPurchaseDto;
import com.yuke.cloud.service.wmc.entity.WmsPurchaseOrder;

import java.util.List;

public interface WmsPurchaseOrderMapper extends MyMapper<WmsPurchaseOrder> {
    List<WmsPurchaseOrderDto> selectCondition(WmsPurchaseOrderDto wmsPurchaseOrderDto);

    List<WmsStockInPurchaseDto> findGoodsByPurchase(Long purchaseId);

    List<PaymentOrderDto> findAllPayment(PaymentOrderDto paymentOrderDto);

    List<FlowCountDto> countMoney(WmsPurchaseOrderDto wmsPurchaseOrderDto);
}
